<?php

namespace app\admin\validate;

use think\Validate;

class TaxpayerInfo extends Validate
{
    /**
     * 验证规则
     */
    protected $rule = [
        'bank_code' => 'max:50',
    ];
    /**
     * 提示消息
     */
    protected $message = [
        'bank_code.max' => '银行行号长度不能超过50个字符',
    ];
    /**
     * 验证场景
     */
    protected $scene = [
        'add'  => ['bank_code'],
        'edit' => ['bank_code'],
    ];
    
}
